*{ padding:0; padding:0;}
li {list-style: none;}
a {text-decoration: none;color: #333333;}
.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}

//定位
.top (@top){.px2rem(top, @top);}
.left (@left){.px2rem(left, @left);}
.right (@right){.px2rem(right, @right);}
.bottom (@bottom){.px2rem(bottom, @bottom);}

.border-radius(@arg){.px2rem(border-radius, @arg);}
.border-radius(@arg){.px2rem(border-top-left-radius, @arg);}
.border-radius(@arg){.px2rem(border-bottom-left-radius, @arg);}

.webkit{
    display: flex;
    display: -webkit-flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border-right(@px,@xian,@color){
    .px2rem(border-right-width,@px);
    border-right-style: @xian;
    border-right-color: @color;
}
.border-left(@px,@xian,@color){
    .px2rem(border-left-width,@px);
    border-left-style: @xian;
    border-left-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}  
#box{   
header {
    .webkit();
    .px2rem(height,96);
    .font(28,#d93a55);
    background: #ffffff;
    .line-height(96); 
    position:fixed;
    top: 0;  
    width:100%; 
    .one,.two{            
        .fanhui {
                    .px2rem(height,39);
                    .px2rem(width,21);
                    .margin-left (29);
                    .margin-top(30);                  
                }
                .gengduo {
                    .px2rem(height,27);
                    .px2rem(width,59);
                    .margin-right (26);
                }
    }
    .center{
        flex: 1;
        text-align: center;
        .font(28,#d93a55);       
    }       
}
main {
        .webkit();
        .px2rem(height,195);
        background-color: #eb606d;
        .margin-top (96);
        p {
             img {
                    .px2rem(height,117);
                    .px2rem(width,118);
                    .margin-left (48);
                    .margin-top (40);
             }
        }
        dl {
                .margin-top (60);
                .margin-left (36);

            dd {
                .font(25,#fff);       
                .margin-bottom (25);
            }
        }
    } 
    section {
        .webkit();
        justify-content: center;
         align-items:center;
         text-align: center;
        .margin-bottom (96);
        dl {
            .margin-top (60);
            dt {
                .px2rem(height,389);
                .px2rem(width,388);
                .margin-bottom (26);
            }
            dd {
                .font(24,#555555);       
            }
        }
    }  
     div {
        .webkit();
        justify-content: center;
        align-items: center;
        text-align: center;
        flex:1;
        .margin-top (26);       
    button {
        .px2rem(height,76);
        .px2rem(width,188);
        .font(24,#fff);       
        background: #df5667;
        border-radius: 15px;     
    } 
    } 
    footer{
        .px2rem(height,95);
        width: 100%;
        border-top: 1px solid #ccc;
        position: fixed;
        bottom: 0;
        background: #fff;
        color: #000;
        ul{
            .webkit();
            .margin-top (10);
            li{
                flex:1;
                text-align: center;
                img {
                    .px2rem(height,46);
                    .px2rem(width,54);
                }
                p {
                    .margin-top (12);
                }
            }
        }
      .curr{
        color: red;
      }
    } 
}


